package cloud.shyidong.system.request;

import cloud.shyidong.core.request.SimpleUpdateRequest;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * <p>
 * 权限表修改请求
 * </p>
 *
 * @author syd
 * @since 2023-05-31 13:14:46
 */
@Data
public class SystemFunctionUpdateRequest extends SimpleUpdateRequest {
    
    /**
     *
     */
    @NotNull(message = "缺少ID")
    private Long id;
    
    /**
     * 编码
     */
    @NotBlank(message = "缺少编码")
    private String code;
    
    /**
     * 名称
     */
    @NotBlank(message = "缺少名称")
    private String name;
    
    /**
     * 路径
     */
    @NotBlank(message = "缺少路径")
    private String url;
    
    /**
     *
     */
    @NotNull(message = "缺少排序")
    private Integer sortIndex;
    
    /**
     *
     */
    private String remark;
    
    
}
